{
	#macro MD5_STR_ADD "74437001||NE9aMjVvQzA=||4OZ25oC0"
	show_debug_message("");
	show_debug_message("");
	show_debug_message("-------------------------------------");
	show_debug_message("-------------------------------------");
	if(directory_exists("Cristhal-1")==false){
		directory_create("Cristhal-1");
	}
	global.SelfDirectory="Cristhal-1/";
	if(directory_exists(".Global")==false){
		directory_create(".Global");
	}
	global.GlobalDirectory=".Global]/";
	if(directory_exists(global.GlobalDirectory+".Achievement")==false){
		directory_create(global.GlobalDirectory+".Achievement");
	}
	global.GlobalAchieveDirectory=global.GlobalDirectory+".Achievement/";
	if(file_exists(global.SelfDirectory+"Config.json")){
		scrConfigLoad();
		window_set_size(global.display[0],global.display[1]);
		window_set_fullscreen(global.display[2]);
	}else{
		global.upKey = ord("W");
		global.downKey = ord("S");
		global.leftKey = ord("A");
		global.rightKey = ord("D");
		global.enterKey = ord("J");
		global.cancelKey = ord("K");
		global.skillKey = ds_list_create();
		ds_list_add(global.skillKey,ord("U"));
		ds_list_add(global.skillKey,ord("I"));
		ds_list_add(global.skillKey,ord("O"));
		global.display = [640,480,false];
		scrConfigSave();
	}
	global.playerY = 0;
	global.playerX = 0;
	global.dskill=0;
}